import VueLazyload from "vue-lazyload";
import AppScroll from "../components/common/app-scroll";

export default {
  install(Vue) {
    // 事件图片的懒加载插件
    Vue.use(VueLazyload, {
      preLoad: 1.3,
      error: "/img/music.png",
      loading: "/img/music.png",
      attempt: 1,
    });

    // 滚动组件
    Vue.component("app-scroll", AppScroll);



  },
};
